By default clicking on a vehicle just tells the game to move there, same as clicking on an event or an empty tile. When the player stops moving, the game does some checks. One of these is a "touch action" check, which splits into "here" (same tile), "there" (1 tile in front), or "over counter" (2 tiles in front). If the touch-move destination matches one of these tiles, it'll try an appropriate action: trigger event or get on/off vehicle.
You'd need a plugin to change this. Examples (save as a .js file and import as a plugin):
Spoiler: plugin code - disable map movement via touch controls
JavaScript:
/*:
* @target MZ
* @plugindesc Disable map movement via touch controls.
* @help Free to use and/or modify for any project, no credit required.
*/
// Override!
Game_Temp.prototype.setDestination = function() {};
Spoiler: plugin code - disable event/vehicle interactions via touch controls
JavaScript:
/*:
* @target MZ
* @plugindesc Disable event/vehicle interactions via touch controls.
* @help Free to use and/or modify for any project, no credit required.
*/
// Override!
Game_Player.prototype.triggerTouchAction = function() {};
I'd suggest the first one: disable touch movement. That also disables event/vehicle interactions.
(If you're already using a plugin to change how touch controls are handled, then these options might not work for you.)