D-GRIL: End-to-End Topological Learning with 2-parameter Persistence