Cathie Lackie will retire from Edinburgh's Royal Hospital for Children and Young People after nearly six decades.