Phase-matched four wave mixing and quantum beam splitting of matter waves in a periodic potential