The US president said it would be clear “in a few weeks” whether negotiations to end the war would succeed.