One of them doesn't need to be in the bathroom. All that I believe is required is for you to visit the bathroom while both Lycanroc and Salazzle are in the house. Not sure if there are any other prerequisites. But neither of them are required to be in the bathroom. Similar to how the one Loona scene will activate if you go there right after you get oral from her.