It depends my friend. I dont think so your wife can sponsor you. And if you go out of Qatar or your employer cancel your visa then in that case you have to stay full two years. Better you consult with some one in labour/imigration department.
Here ever day there are new rules or the current applicable rules get changed. So I will suggest you to make sure before you take any step.
Regards,