The green card holder was held "in direct retaliation" for his role in campus protests, says his lawyer.