There may be a simpler way.
When then engine is charging bat 1 it will have a higher voltage than bat 2 and will be at least 0.6 volts higher as you have a charge splitter - now when you stop the engine the voltage of bat 1 will fall below this 0.6 threshold and may even fall below the voltage of bat 2 after a while as the power is used from bat 1.
Quantised
On second thoughts, I don't think that bat 1 will have a higher voltage as the return from the alternator is to batt 2 (see my listing above). Agreed ? I'll have to check this on next visit to boat.
My purpose for the indicator light is to notify me when the switch is at teminal 1. My usual mode of operation is to turn the switch to batt 1. Leave it there until I have cleared the harbour. Then when I have the sails up and the engine OFF, turn the switch to bat 2. But sometimes I forget to do the laast switch. This means the frig, lights, instruments, etg are now running on bat 1 - which can be a problem if i go to start the engine some hours later.