Mean-field theory of the three-state chiral clock model