Local discontinuous Galerkin method for the nonlocal one-way water wave equation