Emerald pipe configured for the seeds and wheat can do the job. But it will take one seed, one wheat, one seed, one wheat, ... If the seeds are gone, but wheat is still left, it will stop.
Other option: Use properly configured translocators to drain the seeds and wheat into another chest, which...