TOKYO — Japan’s Denso Corp., a leading supplier and affiliate of Toyota Motor Corp., slashed its full-year operating profit forecast by 21 percent on Thursday, mainly due to less-favorable conditions in China and wider Asia, and said it would buy back some of its own shares.