Lowe’s said customers took on fewer discretionary home projects and unfavorable weather hurt sales of outdoor and seasonal items.