Depinning and wetting in two-dimensional Potts and chiral clock models