The Queen joked that volunteers have "poppies coming out of (their) ears" while she visited a community project in Wiltshire.