3D LiDAR Mapping in Dynamic Environments Using a 4D Implicit Neural Representation