Pakistani stocks end lower, rupee weakens