Levi’s, which reports second-quarter results on Wednesday, has made a big investment in its stores and website, increasing the share of sales that come through its own channels rather than fading department stores. This has depressed sales, which fell 8 percent in the first quarter and were flat last year, but boosted profits. The DTC pivot has worked well at some brands, including Ralph Lauren, but carries the risk of higher-than-expected…