The electoral victory of Mamdani was a genuine watershed moment for the socialist movement.