The Princess of Wales reflects on an "increasingly digitalised world" in a new essay, written after her return to overseas visits following her treatment for cancer.