Arab lawmakers won a record number of seats in Israel’s election, even as the Israeli right also made gains.