The drug, made by Eli Lilly, could offer a more convenient option for patients who want to avoid injections.