Two lynxes were captured in the Scottish Highlands overnight after they were on the loose following a suspected "illegal release".