The president used a visit from Israel’s prime minister as the moment to ramp up a campaign intended to persuade Iran to give up its nuclear campaign.