Stationary measures for non-irreducible non-continuous Markov chains with time series applications