Foreign buyers seem to be following Zohran Mamdani’s cue — and fleeing American real estate