WASHINGTON — International leaders and local officials on Thursday pledged to work hard to stem the rise of global temperatures by investing in public transportation and electric cars, planting trees and switching to solar energy. At a climate action summit, U.N. Secretary-General Ban Ki-Moon urged governments, businesses and civil society to make good on the landmark climate agreement concluded late last year in Paris by more than 170 countries.