A Mass and Energy Conserving Finite Element Lubrication Algorithm