Hybrid element method for calculating three-dimensional water wave scattering