Electromechanically actuated valve control for an internal combustion engine