Troops are hooked on investing. They’re trading tips from cockpits and the decks of aircraft carriers, and making fortunes.