Detainees are subjected to moldy towels, inadequate food, medical neglect and unclean water, the lawsuit alleges.