Measurement of electroweak production of a $$\mathrm{W} $$ boson in association with two jets in proton–proton collisions at $$\sqrt{s}=13\,\text {Te}\text {V} $$