Democratic legislators in Texas are fleeing the state in a bid to block Republicans from passing an elections bill that would impose new restrictions on voting.