Dynamic Regret Reduces to Kernelized Static Regret