New York City Mayor Zohran Mamdani understands playing both sides isn't about striving for unwinnable voters. It's about principled populism.