How to set up photo sync from iPhone to Mac without syncing Mac to iCloud Photo Library
In general settings of your iPhone you can set Optimize iPhone storage and if your iPhone is low on space, full resolution photos and videos are automatically replaced with optimized versions. But all full resolution versions are stored in iCloud.