Nasdaq is moving to Texas one year before the state is expected to launch its own stock exchange.