England met resistance from an unexpected source on an unpredictable used pitch in Multan, with Huddersfield League graduate Kamran Ghulam making a debut century for Pakistan on day one of the second Test.