Fewer pharmacies could be open in the evenings and at weekends from the New Year after pharmacy owners voted in favour of collective action for the first time in their history.