The Wari used beer mixed with psychedelics to help build an empire in Peru around 1,200 years ago, a new study suggests.