Apple Inc. is forecasting a sales decline for the first time in more than a decade, adding to evidence that the market for smartphones is becoming saturated and that expansion in China is no longer enough to maintain the company’s unprecedented run of growth.