High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimator