Alexa routines cannot be triggered by a switch, so using a virtual switch isn't sufficient. However, you can use a "virtual switch with contact" or "virtual switch with motion" driver (search for it in the Community). This allows you to treat it as a switch on the Hubitat side, yet use it as a sensor trigger on the Alexa side.