There is not yet a built-in task filter to do this, but it is on our list of improvements.
One way to filter by WBS now is the following: