The US president expressed confidence that a peace agreement between Kyiv and Moscow was within reach, despite deep divisions over territorial concessions and post-war security guarantees.