A restaurant childhood, a dot-com lesson and a pilot’s eye for awkward software helped shape ForeFlight. Its co-founder and former CEO is still finding things to build.