A federal judge has found the Trump administration in contempt for deporting an asylum-seeker to El Salvador in violation of three court orders.