A Gas-kinetic Method for Hyperbolic-elliptic Equations and Its Application in Two-phase Fluid Flow