Light-front holographic QCD with generic dilaton profile