A 22-year-old pilot has become the first active-duty U.S. Air Force officer to win the Miss America title.