Check $string in on_user_command() to avoid activation via other keybindings.

Hi,

Fix a bug when using the extension snippet provided: `dynamic-color cycle` was called every time using another extension key-binding (eg: copy/paste).

disclaimer: I'm not a perl programmer, I looked at the default extensions in `/usr/lib/urxvt/perl/` which implement this kind of check.