Revealing photonic Lorentz force as the microscopic origin of topological photonic states