Brownian path integral from Dirac equation: a probabilistic approach to the Foldy-Wouthuysen transformation