Application of physics-constrained data-driven reduced-order models to shape optimization