Christian Horner says he never thought about leaving Red Bull during a "very challenging" year in F1 2024.