As far as I’m aware iMessage uses data, so it makes sense that only one line will be able to use iMessage and the other line only SMS. When you choose which line you use for data, you are also choosing to use that line for iMessage. Although I haven’t tried it myself, I’m guessing you’d be able to use iMessage on both lines if connected to WiFi.