Topology-induced phase transitions in quantum spin Hall lattices