William, the Prince of Wales, spent weeks out of public view to be there for Kate as she undergoes treatment for an unspecified cancer.