The legislation proposed by Speaker Julie Menin may test Mayor Zohran Mamdani's willingness to limit free speech.