Observations and three-dimensional photoionization modelling of the wolf-Rayet planetary nebula NGC 1501