On cuspidality of global Arthur packets of quasi-split classical groups