People who highly value equality and purity are most likely to see excessive wealth as wrong, a new study suggests.