x11: Check wacom button flags to determine whether button is mode switch
Checking the leds is not really accurate, since some devices have mode switch buttons without leds. Check in the button flags whether they are mode switch buttons for any of ring/ring2/strip/strip2, and return the appropriate group.