Reviving Horndeski theory using teleparallel gravity after GW170817