Genus Distribution of Random q-ary Lattices