Lightning‐induced electron precipitation from the magnetosphere