Dorset brewery Hall & Woodhouse will donate half of its sales to help people struggling with mental health.