Mayor Zohran Mamdani said he and President Trump discussed building housing in New York City, and he appeared to secure the release of a Columbia student detained by ICE on Thursday.