Court weighs legality of Trump’s move to remove Federal Reserve governor