Mayor Zohran Mamdani said President Trump was receptive to partnering on a project to build some 12,000 homes in Queens. Many hurdles still await.