Theory of weak localization in a superlattice