Data-Centric Elastic Pipeline Parallelism for Efficient Long-Context LLM Training