A survivor of the 7 October Hamas attack has been chosen to represent Israel at Eurovision.