Niall Horan owes music career to Katy Perry: ‘I wouldn’t be here’ without her help