A person lacking wudu performs it with the intention of purification. Both removal of hadath and devotional intention are present.
Agreement is reported that the used water is classified as musta‘mal. Once it has been used and separated from the limb, it is no longer treated as untouched fresh water.