Research shows that in his first term, Trump’s social-media posts changed market expectations for interest rates, impacting policy.