For me, and I suspect in general, diet makes absolutely no difference.
I was put on Imipramine for IBS, which it didn't help, but found that my bladder felt much stronger as a side effect. Imipramine is an antidepressant that is also prescribed to treat bedwetting. It's an older antidepressant, and a high dose is toxic. I didn't like the way it made me feel if I took multiple pills every day, but I would take a half a pill to one and a half pills on nights that I felt like I might wet the bed, and that really helped.
I'm 21 now and I did apparently "grow out of it" once I got married. The urologists always told me that the brain, including it's bladder control, does not fully mature until mid 20s. So I'm guessing there's a good chance of recovery until 25, and after that if you still have it you're likely stuck with it.