The president’s long history in New York City real estate looms large over the ongoing conversation with Mamdani.