Ray-Based Finite Element Method For High-Frequency Helmholtz Equations