Application of symplectic integrator to stationary reactive-scattering problems: Inhomogeneous Schrödinger equation approach