Mayor-elect Zohran Mamdani and President Trump struck a cordial tone at the White House, focusing on affordability.