The visit by Catherine, Princess of Wales focused on early years education, a subject close to the princess’s heart as a mother of three children.