People with Type 2 diabetes who don't sleep well could need more time to heal their wounds, according to a new study.