RANCHO MIRAGE, California (Reuters) - President Barack Obama and China's President Xi Jinping agreed on Friday to work together to try to resolve disputes over cyber security, a major irritant between the world's top two economic powers.