Luigi Mangione faces a key New York court hearing over whether gun, notebook and arrest evidence can be used against him.