Demi Lovato returns to “THE X FACTOR” for season three