150 years since the birth of Jack B Yeats, Hilary Pyle considers the concept of memory embedded in his work