In a new memoir, Robert Ballagh explores a different form of portraiture, with words on paper, writes Ciaran Carty