The District and Virginia have joined a growing number of cities and states whose leaders are vowing to uphold the goals of the Paris climate agreement, despite President Trump’s announcement last week that the United States will withdraw from the accord.