Currently the only way to check if your city is close to capping food is to visit the details screen.
Adding remaining Food to the main ui screen or the Growth tooltip would remove the need to visit the details screen when you're considering if you should build a food structure.