A Republican mainstay who served multiple presidents, Mr. Bolton has become a persistent Trump critic since leaving the White House.