China on Friday rejected President Trump’s claim that it had meddled in American elections as baseless. But its response was relatively restrained, a sign that Beijing did not want to let the accusation derail a thaw in relations that both sides have spent months trying to preserve. Mr. Trump had said in a speech that China had carried out “the largest compromise of election data in history” starting with the 2020 cycle, one of several claims he made that was either overstated or untethered from reality. In Beijing, a foreign…