Defending champion PV Sindhu suffered a narrow defeat in a pulsating final against American Beiwen Zhang.