Optimizing Energy Conservation in V2X Communications for 5G Networks