SYDNEY—Australian retailer Woolworths Ltd. WOW 4.37 % and U.S. partner Lowe’s LOW-0.92 % Cos. are exiting their unprofitable home-improvement store venture, which has struggled to take market share from rival Bunnings. Woolworths said Monday it plans …