It sounds like you could set this up within a task function and wait for the sensor event to both start and stop the drawing:
Code:
def DrawingTask():
while True:
yield viztask.waitEvent(viz.SENSOR_DOWN_EVENT)
# start drawing
yield viztask.waitEvent(viz.SENSOR_DOWN_EVENT)
# stop drawing
viztask.schedule( DrawingTask() )