The Duchess of Cambridge had a trick up her sleeve to get her son Prince Louis to behave at the Royal Jubilee Pageant