Investors of exchange-traded funds that buy U.S. government debt are signaling that economic-growth optimism is taking root.