In-context Learning for Mixture of Linear Regression:Existence, Generalization and Training Dynamics