Lumos: Efficient Performance Modeling and Estimation for Large-scale LLM Training