A federal appeals court has blocked the Trump administration's attempt to impose a $100,000 fee on new H-1B visas, citing it as an unlawful tax not authorised by Congress.