The youngster stole the show as William and Kate’s royal children made their first official visit to Scotland