The UK ambassador to the US’s leaked cables calling Trump ‘insecure’ cost him his job because they were accurate