D-Pad remapping on 8BitDo Zero2 in X-Input mode is ignored

It sounds like your controller has the dpad configured to act like an analog thumbstick, which scrolls the card in AnkiMobile. If configured to send digital output instead (the on/off that a dpad sends), then it should work correctly.