Zohran Mamdani’s ascent was powered by a relentless focus on affordability. Along the way, he energized South Asian and Muslim communities that rarely receive sustained attention from politicians.