Local time-stepping in Runge–Kutta discontinuous Galerkin finite element methods applied to the shallow-water equations