a sensor linked to both wheels that cut the engine out when it stopped turning, this could be done easily. It would be activated when the bike passed through the start markers and de activated when the bike passed the end cards, there could also be a light or a noise to indicate the sensor had worked.
I think thats do able and reliable