What's the recommended way to disable touchscreen input on Android?

My advice would be, leave touch input intact; if the game is mostly controller driven, but someone wants to poke a UI button with a mouse or their finger, why not let them?

If you really don’t want anyone using touch, @pauldrewett 's technique of making a full-screen invisible input sponge is probably your best bet, unless you want to do a custom build of Godot that removes touch input entirely.