Neural optimal controller for stochastic systems via pathwise HJB operator