Nodal signaling establishes a competency window for stochastic cell fate switching