Optimizing the design and analysis of cryogenic semiconductor dark matter detectors for maximum sensitivity