AdS2 dilaton gravity from reductions of some nonrelativistic theories