Prince William thanked well-wishers for “kind messages of support” as the king and Kate face health issues.