Obama says Palestinian U.N. bid is "distraction"