A warning this story contains distressing content. It discusses self-harm and includes the image of an Indigenous person who has died. The former president of the West Australian children's court has told an inquest into the death in custody of an aboriginal teenager the state's notorious unit 18 detention facility should be closed "immediately".