New York City Mayor Zohran Mamdani strengthened his influence within Democratic politics Tuesday after all three congressional candidates he endorsed won their primary races, delivering a major victory for the city’s growing democratic socialist movement.