The bill, headed to Gov. Glenn Youngkin’s desk, establishes license requirements and stricter labeling rules.