Nonlinear methods for design-space dimensionality reduction in shape optimization