Stochastic Window Transformer for Image Restoration