The retiring North Carolina senator was critical of President Trump’s reception of Chinese President Xi Jinping.