Israeli soldier who shot Palestinian in head appears in court