Steam should be loading a separate controller config for every game, or at very least loading a default profile of "every button is literally the same as on an Xbox controller". A weird SteamInput config shouldn't affect across all games, I think.
Does it act up in Desktop mode? How about if Steam is closed, and you play something from Heroic?
It's possible that a hardware fault is sending insane inputs. Bad connections to the controller-sub-boards? The controller microchip just going batty?
The HDMI port on any dock is output only. You would have to get an HDMI capture adapter to go that route, and watching those live with low lag is problematic. Beware of capture adapters that are USB 2.0 (a lot of cheapos will lie about this).
Another way to go would be Steam Link over wired ethernet.
One last way, which involves only one higher-end USB-C cable, would be to directly plug the deck to the tablet. One (or both) would act in a CDC-ether role to network the two together. (How do you simultaneously access the internet/Steam's servers?). This setup is very fussy on the software side. I have been remarkably unsuccessful at connecting the deck to a laptop in this fashion, but Android is more open to doing "dual role" usb stuff.