A programme has been launched in a bid to save one of Wales' most endangered butterflies.