US president’s remarks come as Palestinians and Arab states voice staunch opposition to proposal to take over Gaza.