Ghotki principal detained after passing ‘derogatory remarks’