I am afraid that, if he checks out okay at the vet, it's just his bladder getting weaker, so he isn't as able to "hold it" - have you tried limiting his water intake before bedtime?