Amit Gupta, a senior employee of Tech Mahindra, was detained by Qatari authorities on January 1.