Mr. Obama’s decision on Friday not to block a United Nations Security Council resolution condemning Israeli settlements laid bare all the grievances the two men have nursed since shortly after they took office in 2009. For Mr. Netanyahu, it was the final betrayal by a president who was supposed to be an ally but never really was.