D'Alton, John, Irish barrister and historian