Skinner–Rusk formalism for k-contact systems