TorchSpatial: A Location Encoding Framework and Benchmark for Spatial Representation Learning