Measurement of the Associated Production of W + Charm in $$\sqrt{s} = 13$$ TeV Proton–Proton Collisions