Heterogeneous mean-field analysis of a generalized voter-like model on networks - CX-nets