What is the effect of a neodymium magnet on a smartphone's touch screen?
Essentially none. The magnetic field isn't strong enough to disrupt the electric field used for sensing.

However, many phones contain a magnetometer for measuring compass direction, which definitely will be affected by a magnet. I've seen claims of magnetic case clasps permanently affecting the calibration of the magnetometer, but I don't know how true these are