A Queensland woman allegedly tortured a four-year-old girl for nearly a year, with police telling a court the child’s injuries were among the worst they have seen.