Donald Trump’s court appearances are no longer distractions from his campaign to return to the White House. They are central to it.