Michael Waldron tracks the shaping of John Hogan’s national art as championed by Young Irelander Thomas Davis