Stochastic Mechanics Without Ad Hoc Quantization: Theory And Applications To Semiclassical Gravity