I imagine most optometry courses will just ask for 1 - maybe 2 - science subjects, which maths and physics would cover, so you'll probably be fine. Just make sure to have a look at the entry requirements for some optometry courses first. I know that Plymouth asks for 2 science alevels and they accept both maths and physics.