Richard Nixon, before he became president, wrote presciently in Foreign Affairs in 1967 about the need to engage with China, warning that the world’s most populous country cornered in “angry isolation” posed a regional and global danger.