Layers > Select > Layers by Picked Objects
 
 
 

Selects all layers which contain picked objects.