Queen Camilla wrote a letter of support to French rape survivor Gisele Pelicot, a royal aide has revealed.