Xi Jinping gave two cellphones to South Korea’s president, who asked how secure they were. “You can check if there’s a backdoor,” he said with a laugh.