Consume the entire weight and pre compute the DocIdSets for all segments instead of keeping the weight around and build a DocIdSet when a s

 Also made CustomQueryWrappingFilter implement Releasable in order to cleanup the pre-computed DocIdSets.

 Closes #4703