Markov's inequality for random variables taking values in a linear topological space