The weight-loss drug Ozempic can help reduce stroke patients' risk of a heart attack or death, a new study says.