A State-Dependent Wear Model with an Application to Marine Engine Cylinder Liners