Bangladesh, the world's second-largest clothing exporter, is leveraging technology to manage textile waste production.