When the Pharmacist is licensed by the state, it IS the business of the state. The prescription drugs in question are legal drugs, and legal for sale in that state, therefore, the state licensed pharmacists have no compelling legal argument against filling the prescriptions.
What is more important: to act legally, or to act justly? The latter.
True, the law should be overturned. But until then, conscientious pharmacists must resist.