Modular W-algebras and reduced enveloping algebras