Water-depth identification from free-surface data using the KdV-based nonlinear Fourier transform