Zohran Mamdani’s choice for a key foreign policy position in his administration shows the power of a progressive Tammany Hall.