In Ultra games, Solgaleo/Lunala are not required catches during the story. Instead, after Ultra Necrozma is down, you can go visit them to battle at any time (until you catch it), en route to where you would encounter Tapu Koko. This includes after beating the league.