Stochastic-shielding approximation of Markov chains and its application to efficiently simulate random ion-channel gating