I wouldn't say it's necessarily the spark plug, because that usually gives different symptoms. What you're describing - the metallic knocking under load and on hills - sounds more like actual engine knock, meaning the fuel is igniting before it should. It can happen for several reasons: fuel quality (maybe you're using a cheaper brand than usual?), carbon buildup in the injectors, or the knock sensor not communicating properly with the engine control unit.
Since you had your service done recently, the oil is probably fine. What might help is trying better quality fuel for a few fill-ups - I know it sounds obvious, but I've seen it fix problems like this. If the noise keeps happening, I'd get the injectors and knock sensor checked; it's not super expensive, and it's better to rule out the problem now rather than leave it hanging. A 2019 500X should have plenty of years ahead of it, so don't immediately jump to the worst-case scenario, but don't leave it completely unresolved either.