Leveraging Bio-Inspired Metaheuristics for Effective Congestion Control in Wireless Sensor Networks