The back-and-forth was the latest example of President Trump teasing a breakthrough, only to be pulled back by President Vladimir V. Putin of Russia.