Kernel-Based Learning for Smart Inverter Control