Taiwan's president quits as party head