dm: led: Add support for getting the state of an LED