Donald Trump's new trade deal with Xi Jinping could make things better for voters—and himself.