Wall Street hasn’t been this bearish on the stock market in more than a decade. Tech shares are a different story. Hedge funds and other speculative investors have built up a big bet that the S&P 500 will decline, marking their most bearish positioning since 2007. At the same time, they are …