Once you've joined the Guild of Mystery, you're in it for good — there's no way to leave within that playthrough.
You have two real options: start a fresh character and decline the guild when it's offered, or reload a save from before you accepted the invitation.