The Golden State's mandate that mattress makers pick up old beds for recycling has created an opportunity for specialized startups.