GAP: Graph-Based Agent Planning with Parallel Tool Use and Reinforcement Learning