I recall it from when I was a kid, back in the 1940s; I always took for granted that it came from shooting. It's a term in horse race betting (long shot = poor odds), as well, although even there it may have derived from shooting.
FWIW, Art
[This message has been edited by Art Eatman (edited May 25, 2000).]