On a late-summer night in 2016, as Nicole Scherzinger climbed onto the judges’ desk and Simon Cowell’s expression cracked into an unexpected grin, Beck Martin’s self-penned club track “Friday Night” turned a television talent show audition into the moment he quietly rewrote…