Sir James Hennessy, who has died aged 100, was Britain’s high commissioner in Uganda for three nerve-racking and at times humiliating years, with Idi Amin at the height of his barbaric unpredictability.