SLA batteries are more robust than Li Ion or the more exotic chemistries. A single 12 Volt battery 6 cell should be charged to 13.6 V , therefor a set of three , should be charged to 39.9 or 40 V. Any voltage in excess of that will prior to the battery being charged, cause a little heating and a tiny amount of hydrogen gas release . And when the battery has charged, to any excess voltage above 13.6 ..or appropriate multiple, there willbe a lot more outgassing as the water decomposes . In a Wet battery, the water can be replaced, but in sealed batteries it is an nightmare, as one has to break open the seals ... or just leave it and hope that the oxygen and hydrogen recombine.
Your Li Ion Charger is satisfactory for charging the SLA types provided
1. You disconnect when the overall voltage gets to 39V . The charger will have been working in constant current mode , so will be charging slower than would a normal SLA charger.
2. You insert a few power silicon diodes in series with the positive from the charger. Each one will give you a drop in maximum voltage of 0.7 to 0.8V, so 3 in series will stop any current getting into the battery over say 39 V.