A nurse who injected a man with a muscle-relaxing anaesthetic intended to kill him, a jury decides.