 Mattel Inc. has held talks with private-equity firms about a potential sale, people familiar with the matter said, just a few months after the famed toy company declared its corporate turnaround complete. 