OmniCast: A Masked Latent Diffusion Model for Weather Forecasting Across Time Scales