The Duchess of Sussex's spokesperson has defended her approach to posting family images online ahead of Princess Lilibet's fifth birthday.