The Boeing F-47 will soon be the world’s most advanced fighter jet on the planet—but it almost never happened.