It's not about prevention, but detection.
Now I'll ask: how do you detect someone wall hacking automatically? No human review and no false flags. Go!
If you think it's statistically likely that someone might be cheating, but you're not sure, you can matchmake them with other people who might be cheating.
You don't tell the client the location of anything they can't see.
* Play sounds from their actions * Actually be able to render them when either player comes around the corner without them obviously materializing out of thin air.