After assailing Europe in a long speech at Davos, the president said he had won an agreement on the future of the Arctic territory.