A large number of senior career diplomats who served in politically appointed leadership positions at the State Department have left their posts at the demand of the incoming Trump administration, which plans to install its own people in those positions.