This problem is very similar to what is known in the physics literature (including in real atom-optics experiments) as the "wedge billiard."
Self-edit: Another comment -
Formulas for linear stability of billiards with potentials (such as gravity) are given in Holger Dullin's paper here:
Holger R Dullin, "Linear stability in billiards with potential." Nonlinearity, Volume 11, Number 1, 11, 151. 1998.
Abstract: A general formula for the linearized Poincaré map of a billiard with a potential is derived. ...

