A reduced-order model for gradient-based aerodynamic shape optimisation