Influence of sliding interfaces on the response of a layered viscoelastic medium under a moving load