A teenage photographer who met the Princess of Wales while pursuing a photography bucket list after being diagnosed with a rare form of cancer has died.