Original posts by Baceseras and others in Oct, 07.
I used the phrase today, and hence pondered its origin. Came to hypothesis that it probably related to racing, but envisioned remote bookie joints that received race results by wire, including a wire that announced the start of the race. One who got their bet in at the last minute would have gotten in "Under the wire." No sources, pure conjecture.