Why not just, "He wrung the water out of his pants." or even "He wrung out his pants".
The reason I wouldn't use 'strain' here is that 'straining water out of something' is a different domestic process. For example, you strain water out of rice by pouring it through a strainer.
- For Teachers