Virat Kohli scored his first Test century since 2019 as India posted 571 on day four of the fourth Test against Australia.