Distribution function of a collisionless gas in the de Sitter spacetime