Party City Holdco declared bankruptcy in Texas court and expects mass layoffs at its New Jersey headquarters.