On the regularity of solutions to a nonlinear ultraparabolic equation arising in mathematical finance