The Princess of Wales has joined other senior royals at the Royal British Legion's Festival of Remembrance.