New York Mayor Zohran Mamdani will face hurdles. And Democrats cannot mistake one city’s victory for a national mandate.