The Prince and Princess of Wales greeted volunteers and staff during a visit to Windsor’s Guildhall, their first appearance since the queen’s funeral.