Hosting Prime Minister Benjamin Netanyahu of Israel, the president said he still had “a good chance” of forging peace, but a deal seems further away than ever.