Wall Street barely blinked at President Donald Trump’s attacks on the Federal Reserve this year. But its confidence could be shaken with an upcoming Supreme Court ruling.