Former detective accuses Prosecutor’s Office of ignoring child abuse warnings before boy’s treadmill death