Undercutting the secretary of state’s role, Trump has recast U.S. diplomacy in his own image — personalized, transactional, overbearing and opaque.