The views of Mike Pompeo, the C.I.A. director, have put him in good stead with President Trump, who has come to value his pungent opinions and hard-charging style.