Mr. Gates, acting as an envoy between the worlds of business and policy, has pressed national leaders and tech billionaires to team up on clean technology.