Ask-before-Plan: Proactive Language Agents for Real-World Planning