Gradient flow structures for discrete porous medium equations