I would ask the coach if he is aware that an act obviously designed to delay
or hasten the game is illegal, and that the penalty is a forfeit?
It is likely my discussion with the coach would have resulted in time expiring!
Whatever, there is no rule that allows the batter to be called out in this situation. As the others have said, the process is warning, followed by a called strike, another warning, another called strike, and then possibly another warning and third strike, or ejection and a call for the next batter.
The home team should not have been allowed to use this approach to skip over the bottom of their order and hasten getting to the next inning. The visitors got jobbed. JMO.