The nation’s consumer watchdog is unveiling a proposed rule on Thursday that would restore customers’ rights to bring class-action lawsuits against financial firms, giving Americans major new protections and delivering a serious blow to Wall Street that could cost the industry billions of dollars.