Portugal’s centre-right wins tight election as far-right surges