Ukraine's Marta Kostyuk dedicated her first WTA Tour title to "all the people who are fighting and dying" after beating Russia's Varvara Gracheva at the ATX Open.