Resistive states of superconducting hot-electron bolometer mixers: charge-imbalance vs. hotspot