Lawsuit alleges misconduct at state's youth detention facilities