For thousands of years, brewing beer was women’s work. But then it became associated with witchcraft.