Christian Horner's time in F1 might not be over after his sacking from Red Bull, according to Pierre Gasly.