Measurement of associated production of a W boson and a charm quark in proton–proton collisions at √s=13Te