The Supreme Court heard arguments in a legal battle centered on President Trump’s efforts to fire a Federal Reserve governor.