How can I adhere tile to a painted wall?
If the wall surface is solid, free of contaminants, us a mastic and go right over the painted wall, after you scratch it up a bit with sandpaper to give the mastic a slightly rough surface to grip to.

This is presuming the wall is above a countertop not subject to getting saturated with water to affect the drywall backing.