Optimized highly charged ion production for strong soft x-ray sources obeying a quasi-Moseley’s law