Text this: Generalized dynamical phase reduction for stochastic oscillators