SUMMIT, N.J.—Procter & Gamble Co. started a dry-cleaning chain a decade ago to market detergent and learn more about how consumers like their laundry. That experiment has evolved into the sector’s second-largest U.S. player as…