Wright pleads guilty of killing girl