WASHINGTON — President Obama said Tuesday that the United States would formally recognize a coalition of Syrian opposition groups as that country’s legitimate representative, intensifying the pressure on President Bashar al-Assad to give up his bloody struggle to stay in power.