“Even if a child is later proved innocent, the parents still must pay a nightly rate for the detention. Bills run up to $1,000 a month, and many of the parents of Philadelphia’s roughly 730 detained children are so poor they can afford monthly installments of only $5.”