wall outlet when bottom is tiled and top is drywall
There are only three options:


Move the light switch.
Install the tile differently.
Live with it.


The first and second options require additional tile work and possibly work to the gypsum board and the electrical system.