Lowe’s on Wednesday stood by its full-year forecast, despite reporting quarterly sales that fell just short of Wall Street’s expectations.