2022 World Cup hosts Qatar ended their Asian Cup campaign with a third defeat after losing 2-1 to Bahrain in their final Group C match.