Obama unswayed on Keystone as Harper rebuffed in Mexico