A legal not-for-profit has launched High Court action to stop an immigration detainee being sent to Nauru in a controversial visa deal with the Pacific nation.