The main place to stay in Hoylake is The Kings Gap Hotel. Just a minute or so walk from both the train station and the two golf courses, the hotel has 30 rooms (all en-suite) and is 3 star rated.
If you visit Late Rooms you should be able to get a discount on your booking (there’s no booking fee).