Taiwan's opposition-held legislature has passed a proposal to begin impeachment proceedings against President Lai Ching-te.