JK Rowling has offered to fund a legal fight against a secure unit that housed a 13-year-old girl alongside older male ...