WASHINGTON — President Obama and President Xi Jinping of China said Thursday that they would sign the Paris Agreement on climate change on April 22, the first day the United Nations accord will be open for government signatures.