Turkey’s main opposition party has warned it could walk out of parliament in protest at alleged fraud in Sunday’s referendum, significantly raising the stakes in its standoff with President Recep Tayyip Erdogan over the disputed results.