At a time of resistance to environmental, social and governance goals, pension funds have become a bulwark against efforts to sideline climate risks.