The Duchess of Cambridge sat in the cockpit of a fighter jet on her visit to the training base