PITTSBURGH — President Obama said Wednesday that it was time for the United States “to aggressively accelerate” its transition from oil to alternative sources of energy and vowed to push for quick action on climate change legislation despite almost unanimous opposition from Republicans and continued skepticism from some Democrats.