The Tel Aviv Stock Exchange’s benchmark TA-25 index closed at a record high Wednesday, capping a 16.2% surge that began last August.