The Prince and Princess of Wales have met with a teenage photographer with a rare and aggressive form of cancer after inviting her to take pictures at Windsor Castle.