After booming when rising energy prices rippled through the nation’s largest oil-producing state, Texas’s once stellar economic growth is slowing as crude trades for less than half what it did two years ago. As a result, lawmakers are anticipating that billions of dollars of tax revenue won’t materialize, threatening the government’s surpluses and leading investors to demand higher yields on some of its bonds.