Epithelial stratification shapes infection dynamics