U.S. president says Washington and Beijing also agreed on the need to reopen the Strait of Hormuz amid global energy concerns