Hyperbolically embedded subgroups and rotating families in groups acting on hyperbolic spaces