WASE: Learning When to Attend for Speaker Extraction in Cocktail Party Environments