If there was one thing financial markets commentators were confident about heading into the presidential election, it was that if Donald J. Trump pulled off an upset win, it would create a classic panic reaction: a drop in stocks and other risky assets and a rally in bonds and other safe-haven assets.