Elastic full-waveform inversion for surface topography