SAN FRANCISCO - U.S. President Joe Biden and Chinese President Xi Jinping agreed Wednesday to reopen military-to-military lines of communication at several levels and take steps on transnational challenges such as counternarcotics to help foster trust between the two major powers.