The president sounded optimistic about a deal to end Russia’s almost four-year-old invasion while sharing no new specifics.