Wave‐Equation Dispersion Inversion of Guided P Waves in a Waveguide of Arbitrary Geometry