I went with a $250 Optima Yellow Top D35 AGM battery (what I believe is generically called a 35R) so the terminals are on the right side. The D35 fit great even though it has significantly more capacity than the stock 51R battery. I removed the 51R-sized plastic tray, used the 1-inch plastic riser provided with the Optima, and substituted the Rogue battery hold-down, part number 24420-4M800. The hold-down is about a 1/2-inch larger than ideal, but still works well. I plan to return the substitute Rogue plastic tray as it didn't fit in the metal tray well, seems unnecessary with a sealed AGM battery, and the plastic riser provides plenty of protection for the battery itself.
Thanks to BrockWI and cwerdna!
Hopefully this will solve the problem with the battery dying every 6-9 months since my 2013 Leaf was new. I bugged Nissan and two dealers for years, but they could never find a solution. (I did try disconnecting the telematics unit as suggested elsewhere on this forum, but no luck)
2021-01-16 update: added photo
https://www.dropbox.com/s/6mfqosxdroz4y ... .jpeg?dl=0