Contact of a rigid cylinder indenting an elastic layer sliding over a rigid substrate