Ian Khama thought he had executed the perfect transition from power. He was wrong. Now his hand-picked successor is tearing up his legacy