Trump's transgender military ban finds support in federal appeals court