The former One Direction star cited the band's 2025 European dates as one of the catalysts to him getting back to the stage.