Critical Load Analysis for a Layered Half-Space under Sliding Indentation