Make your function return a tsrangetstzrange then you can use something like this:
SELECT timestamp, col
FROM data
WHERE timestamp <@ get_time_limits()
I haven't tried, but the following should work using the current function:
SELECT timestamp, col
FROM data
WHERE timestamp <@ (select tsrangetstzrange(min_time, max_time, '[]'[]') from get_time_limits())