The election could redefine Taiwan 's troubled relationship with mainland China .