The man accused of stabbing renowned British-Indian author Sir Salman Rushdie in 2022 has gone on trial in upstate New York.