Sample Complexity Characterization for Linear Contextual MDPs