Mayor Zohran Mamdani named a housing commissioner and announced that the city would hold public hearings where frustrated renters could voice their complaints.