State officials determined that Ozempic, a popular diabetes treatment and weight-loss drug, is unaffordable for Marylanders and voted Monday to limit how much state and local governments will pay for it on state health plans.