Texas health officials violated state law when they said they would award a multibillion dollar series of health insurance contracts to for-profit companies while overlooking nonprofit health plans, a lawsuit brought by two nonprofit health insurers alleges.