A federal appeals court is set to consider President Trump's effort to fire two immigration judges this fall, a case that could have significant implications for federal workers.