With his Nelson Mandela Lecture, in Johannesburg on Tuesday, Obama offered the sharpest possible contrast between himself and his successor—between statesman and demagogue.