The future of the left depends on its ability to elect more leaders like Mamdani.