Hopefully you have kept a copy of your signed contract/letter for your own use. If you have a copy, I would recommend you show it to a lawyer/attorney in your area and ask his/her advice. If the contract is binding, there could be ramifications other than just not being allowed to live and work in Qatar for two years.