Electrical light switch circuit split
You would need to add a new wire from a new switch for the ceiling fan. If the (required) fan-rated box that will be installed is large enough you can simply leave the splice for the center light in that box just capped off.