Spatiotemporal Attention Enhances Lidar-Based Robot Navigation in Dynamic Environments