Spectral gap optimization for enhanced adiabatic state preparation