A militant from so-called Islamic State (IS) has publicly executed his mother because she encouraged him to leave the group, activists say.