Random iteration of rational functions