Crossing a fitness valley as a metastable transition in a stochastic population model