For much of the last year, the Republican candidates for president have hammered President Obama’s handling of the Middle East peace effort, hoping to drive a wedge between Mr. Obama and Jewish voters and other supporters of Israel over the issue of Israel’s security.