Efficient Security for Resource-Constrained Devices with LPM: A Lightweight Protocol Utilizing Chaotic Map-Based S-Box