Children who get too little sleep may be more likely to have risk factors for type 2 diabetes, new research suggests.