South Korea have exited the 2019 Asian Cup at the quarter-final stage after a shock 1-0 defeat to Qatar in Abu Dhabi.