'Pakistani militant' held over Kashmir attack