Learning Dynamic Priority Scheduling Policies with Graph Attention Networks