Fix switching of pointer type by the stylus tip
We should check if any button is pressed by the already mapped value,
but not raw value of the buttons. Wintab will always report the button
to be pressed, although it is unmapped by CSR_SYSBTNMAP
BUG:408454
BUG:405747