Are electrical switches under kitchen sinks common for any utility?
A standard snap switch can be used as a safety disconnect for small hard-wired equipment.

I would suspect it is a disconnect for the dishwasher.

Good luck!