A Wave-Based Request-Response Protocol for Latency Minimization in WSNs