The big-voiced, big personality singer was enlisted to write songs for the pop star’s Cowboy Carter country project