Karachi stock exchange closes lower