Fixes RegisterIndicator for python algorithms
Fixes RegisterIndicator for python algorithms

The check for Lean indicators was testing for `Indicator`, `BarIndicator` and `TradeBarIndicator` types where it should check for `IndicatorBase<T>` which includes `WindowIndicator<T>`.

jameschch/Lean,AnshulYADAV007/Lean,AlexCatarino/Lean,QuantConnect/Lean,redmeros/Lean,QuantConnect/Lean,kaffeebrauer/Lean,AlexCatarino/Lean,jameschch/Lean,jameschch/Lean,AnshulYADAV007/Lean,kaffeebrauer/Lean,StefanoRaggi/Lean,redmeros/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,JKarathiya/Lean,AnshulYADAV007/Lean,AnshulYADAV007/Lean,kaffeebrauer/Lean,QuantConnect/Lean,kaffeebrauer/Lean,JKarathiya/Lean,jameschch/Lean,Jay-Jay-D/LeanSTP,StefanoRaggi/Lean,kaffeebrauer/Lean,jameschch/Lean,Jay-Jay-D/LeanSTP,Jay-Jay-D/LeanSTP,AnshulYADAV007/Lean,AlexCatarino/Lean,Jay-Jay-D/LeanSTP,QuantConnect/Lean,JKarathiya/Lean,StefanoRaggi/Lean,redmeros/Lean,JKarathiya/Lean,redmeros/Lean,Jay-Jay-D/LeanSTP