A Royal Navy sailor is still being questioned after a shooting on board a nuclear submarine that left a crewman dead and another injured.