Anisotropic thermally activated flux-flow behavior in the layered superconductor 2M−WS2