Inverse analysis of granular flows using differentiable graph neural network simulator