China set a target for economic growth for 2018 at “about 6.5%,” the same as last year’s, but signaled the government would rein in spending as it tackles its rising debt woes.