Though minimum connection time at LAX from an International arrival is less than three hours, I’d not recommend less than three hours unless you have no checked baggage (and hopefully, Global Entry. On separate PNRs / ticketing, substantially longer.
For lists of hotels, b&bs, places to sleep, 24 hour Lounges etc. see
www.sleepininairports.net. A lot more comprehensive than the name would imply.