Risk assessment method for the need of protection against lightning overvoltages on lines entering a structure