Geometric decomposition of geodesics and null-phase curves using Majorana star representation