Azimuthally sensitive femtoscopy in hydrodynamics with statistical hadronization from the BNL Relativistic Heavy Ion Collider to the CERN Large Hadron Collider