LAD-RAG: Layout-aware Dynamic RAG for Visually-Rich Document Understanding