A free boundary characterisation of the Root barrier for Markov processes