Zohran Mamdani’s insurgent campaign for New York City mayor is casting a spotlight on a rising faction within the Democratic Party and beyond — one that rejects unconditional support for the Israeli government and is more sympathetic to the plight of Palestinians.