Hi dear, a few days ago, I heard that someone has contacted Beijing Border Control Office and the Office said the 72-hour free transit period in Beijing starts from the midnight after arrival. So I think your time does not exceed the limit and the free transit works for you. You can double check this with the airline.