A topological switch in CFTR modulates channel activity and sensitivity to unfolding