Optimizing Transition Edge Sensors for High‐Resolution X‐ray Spectroscopy