Will knocked-out soldiers in dumpsters and toilets ever wake up?

Solution 1:

Sleeping or stunned enemies will remain in toilets and dumpsters indefinitely.

The only way that they will woken is if you take them out, or if another enemy happens to check (specifically a toilet) as part of an alert clearing.