Ising on the Graph: Task-specific Graph Subsampling via the Ising Model