Suit seeks release of immigrant girl detained after surgery