Bridging Bytes and Beats: The Symbiosis of Code and Cadence in AI Poetry