The Northern Irish songwriter – Bob Dylan’s “secret hero” – on making morally complex music in the time of the Troubles.