The diabetes drug also used for weight loss can reduce the risk of kidney disease in some users, according to a new study.