How a radical leader with a checkered past is winning voters away from the party of Nelson Mandela and inspiring a new kind of politics